//
//  ViewController.swift
//  ProgressViewControllerDemo
//
//  Created by 李煜 on 2024/3/11.
//

import UIKit

class ViewController: UIViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
    }

    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        let pc = ProgressVC()
        pc.defaultURL = URL(string: "https://www.baidu.com")
//        pc.defaultURL = URL(string: "https://www.google.com")
        pc.modalPresentationStyle = .fullScreen
        present(pc, animated: true)
    }
}
